siad007/versioncontrol_hg

View on GitHub

Showing 170 of 256 total issues

Avoid deeply nested control flow statements.
Open

                                    if ( xhrOnUnloadAbort ) {
                                        delete xhrCallbacks[ handle ];
                                    }
Severity: Major
Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                          } else if ( copy !== undefined ) {
                              target[ name ] = copy;
                          }
          Severity: Major
          Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                      for ( i = 0; (item = curLoop[i]) != null; i++ ) {
                                          if ( item ) {
                                              found = filter( item, match, i, curLoop );
                                              pass = not ^ found;
                  
                  
                  Severity: Major
                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if ( tmp[ 0 ] === prev || tmp[ 0 ] === "*" ) {
                                              conv2 = converters[ tmp[1] + " " + current ];
                                              if ( conv2 ) {
                                                  conv1 = converters[ conv1 ];
                                                  if ( conv1 === true ) {
                      Severity: Major
                      Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                    if(obj[cnn]){
                                     /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>f',cnn,'ARRAY']);
                                     
                                                                // http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
                                                                if(!obj[cnn].length) obj[cnn] = myArr(obj[cnn]);
                            Severity: Major
                            Found in docs/api/phpdoc/js/jquery.xml2json.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                  if ( !anyFound ) {
                                                      return [];
                                                  }
                              Severity: Major
                              Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                    if ( relativeHierarchySelector && hasParent ) {
                                                        context = context.parentNode;
                                                    }
                                Severity: Major
                                Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                          if ( ret[r] === ret[n] ) {
                                                              ret.splice(n--, 1);
                                                              break;
                                                          }
                                  Severity: Major
                                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                        if ( flags.unique ) {
                                                                            break;
                                                                        }
                                        Severity: Major
                                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language