kennethkalmer/powerdns-on-rails

View on GitHub

Showing 157 of 179 total issues

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 ( 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

                        } 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

                                  for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
                                      if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) {
                                          setClass += " " + classNames[c];
                                      }
                                  }
          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 ( display === "inline" ) {
                                              this.style.display = "inline-block";
              
                                          } else {
                                              this.style.display = "inline";
              Severity: Major
              Found in public/javascripts/jquery.js - About 45 mins to fix

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

                        ATTR: 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 ( !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

                                            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

                      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

                                            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 ( 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

                                                    for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
                                                        className = className.replace(" " + classNames[c] + " ", " ");
                                                    }
                            Severity: Major
                            Found in public/javascripts/jquery.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

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

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

                                function dirCheck( 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 ( match.jquery ? match.index( cur ) > -1 : jQuery( cur ).is( match ) ) {
                                                              ret.push({ selector: selector, elem: cur, level: level });
                                                          }
                                  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

                                      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 ( !anyFound ) {
                                                                return [];
                                                            }
                                        Severity: Major
                                        Found in public/javascripts/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language