linguisticexplorer/Linguistic-Explorer

View on GitHub

Showing 282 of 417 total issues

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 ( xml && xml.documentElement /* #4958 */ ) {
                                            responses.xml = xml;
                                        }
    Severity: Major
    Found in public/javascripts/jquery.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                  if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
                                      setClass += 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 ( flags.unique ) {
                                                break;
                                            }
            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 ( 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 ( !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 ( 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

                                            if ( !old ) {
                                                context.setAttribute( "id", nid );
                                            } else {
                                                nid = nid.replace( /'/g, "\\$&" );
                                            }
                        Severity: Major
                        Found in public/javascripts/jquery.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                              if ( !isXML ) {
                                                  elem[ expando ] = 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 ( 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

                                              } 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 ( firing ) {
                                                                    if ( i <= firingLength ) {
                                                                        firingLength--;
                                                                        if ( i <= firingIndex ) {
                                                                            firingIndex--;
                                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

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

                                                                    for (var name in styles) {
                                                                        this.styles[name] = styles[name];
                                                                    }
                                        Severity: Major
                                        Found in public/javascripts/canvg.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language