kennethkalmer/powerdns-on-rails

View on GitHub

Showing 157 of 179 total issues

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 ( name.indexOf( "data-" ) === 0 ) {
                                name = jQuery.camelCase( name.substring(5) );
    
                                dataAttr( this[0], name, data[ name ] );
                            }
    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 ( !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 ( 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 ( 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 ( pos == null ) {
                                            eventType.splice( j--, 1 );
                                        }
                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 ( elem && elem.parentNode ) {
                                                // Handle the case where IE and Opera return items
                                                // by name instead of ID
                                                if ( elem.id === match[3] ) {
                                                    return makeArray( [ elem ], 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 ( 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

                                              } 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 ( !xhrCallbacks ) {
                                                                xhrCallbacks = {};
                                                                jQuery( window ).unload( xhrOnUnloadAbort );
                                                            }
                                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

                                    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 ( xml && xml.documentElement /* #4958 */ ) {
                                                                              responses.xml = xml;
                                                                          }
                                      Severity: Major
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language