kennethkalmer/powerdns-on-rails

View on GitHub

Showing 157 of 179 total issues

Avoid deeply nested control flow statements.
Open

                                    if ( xml && xml.documentElement /* #4958 */ ) {
                                        responses.xml = xml;
                                    }
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 ( 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

                                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 ( !isXML ) {
                                  elem.sizcache = doneName;
                                  elem.sizset = i;
                              }
          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

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

              function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
                      dataType /* internal */, inspected /* internal */ ) {
              Severity: Minor
              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 ( 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 ( !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

                      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 ( !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 ( 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 ( 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 ( xhrOnUnloadAbort ) {
                                                                      delete xhrCallbacks[ handle ];
                                                                  }
                              Severity: Major
                              Found in public/javascripts/jquery.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        if ( jQuery.isPlainObject( context ) ) {
                                                            selector = [ document.createElement( ret[1] ) ];
                                                            jQuery.fn.attr.call( selector, context, true );
                                
                                                        } else {
                                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 ( !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 ( !old ) {
                                                              context.setAttribute( "id", nid );
                                                          } else {
                                                              nid = nid.replace( /'/g, "\\$&" );
                                                          }
                                      Severity: Major
                                      Found in public/javascripts/jquery.js - About 45 mins to fix

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

                                            access: function( elems, key, value, exec, fn, pass ) {
                                        Severity: Minor
                                        Found in public/javascripts/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language