engineyard/todo

View on GitHub

Showing 145 of 145 total issues

Avoid deeply nested control flow statements.
Open

                    if ( !inplace ) {
                        curLoop = result;
                    }
Severity: Major
Found in public/javascripts/jquery.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

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

      Avoid deeply nested control flow statements.
      Open

                          if ( relativeHierarchySelector && hasParent ) {
                              context = context.parentNode;
                          }
      Severity: Major
      Found in public/javascripts/jquery.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                            if ( !isXML ) {
                                elem.sizcache = doneName;
                                elem.sizset = i;
                            }
        Severity: Major
        Found in public/javascripts/jquery.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                              if ( xhr.readyState !== 4 ) {
                                                  xhr.abort();
                                              }
          Severity: Major
          Found in public/javascripts/jquery.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                    if ( !relativeHierarchySelector || hasParent ) {
                                        return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
                                    }
            Severity: Major
            Found in public/javascripts/jquery.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                  for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
                                      if ( item ) {
                                          found = filter( item, match, i, curLoop );
                                          var pass = not ^ !!found;
              
              
              Severity: Major
              Found in public/javascripts/jquery.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                        for ( j = tbody.length - 1; j >= 0 ; --j ) {
                                            if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
                                                tbody[ j ].parentNode.removeChild( tbody[ j ] );
                                            }
                                        }
                Severity: Major
                Found in public/javascripts/jquery.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

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

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

                            CLASS: function( match, curLoop, inplace, result, not, isXML ) {
                    Severity: Minor
                    Found in public/javascripts/jquery.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                              if ( special.remove ) {
                                                  special.remove.call( elem, handleObj );
                                              }
                      Severity: Major
                      Found in public/javascripts/jquery.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                            if ( !match ) {
                                                anyFound = found = true;
                        
                                            } else if ( match === true ) {
                                                continue;
                        Severity: Major
                        Found in public/javascripts/jquery.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                              if ( typeof cur !== "string" ) {
                                                  if ( elem === cur ) {
                                                      match = true;
                                                      break;
                                                  }
                          Severity: Major
                          Found in public/javascripts/jquery.js - About 45 mins to fix

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

                            function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                            Severity: Minor
                            Found in public/javascripts/jquery.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                      if ( elem.id !== match[2] ) {
                                                          return rootjQuery.find( selector );
                                                      }
                              Severity: Major
                              Found in public/javascripts/jquery.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                                    if ( !status && s.isLocal && !s.crossDomain ) {
                                                                        status = responses.text ? 200 : 404;
                                                                    // IE - #1450: sometimes returns 1223 when it should be 204
                                                                    } else if ( status === 1223 ) {
                                                                        status = 204;
                                Severity: Major
                                Found in public/javascripts/jquery.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                      if ( related && jQuery.contains( elem, related ) ) {
                                                          related = elem;
                                                      }
                                  Severity: Major
                                  Found in public/javascripts/jquery.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                    } else if ( copy !== undefined ) {
                                                        target[ name ] = copy;
                                                    }
                                    Severity: Major
                                    Found in public/javascripts/jquery.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                              if ( !old ) {
                                                                  oldContext.removeAttribute( "id" );
                                                              }
                                      Severity: Major
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language