stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Avoid deeply nested control flow statements.
Open

                        if ( !relativeHierarchySelector || hasParent ) {
                            return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
                        }
Severity: Major
Found in public/lib/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/lib/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/lib/jquery.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                if ( special.remove ) {
                                    special.remove.call( elem, handleObj );
                                }
        Severity: Major
        Found in public/lib/jquery.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                  if ( !old ) {
                                      oldContext.removeAttribute( "id" );
                                  }
          Severity: Major
          Found in public/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/jquery.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                        if (val < ymin)
                                                            ymin = val;
                            Severity: Major
                            Found in public/lib/jquery.flot.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                          if (f) {
                                                              if (f.number && val != null) {
                                                                  val = +val; // convert to number
                                                                  if (isNaN(val))
                                                                      val = null;
                              Severity: Major
                              Found in public/lib/jquery.flot.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                            if (val > xmax)
                                                                xmax = val;
                                Severity: Major
                                Found in public/lib/jquery.flot.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                              if (val != null) {
                                                                  f = format[m];
                                                                  // extract min/max info
                                                                  if (f.x)
                                                                      updateAxis(s.xaxis, val, val);
                                  Severity: Major
                                  Found in public/lib/jquery.flot.js - About 45 mins to fix

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

                                        isOver: function( y, x, top, left, height, width ) {
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                  for (m = 0; m < ps; ++m)
                                                                      points[k + ps + m] = points[k + m];
                                      Severity: Major
                                      Found in public/lib/jquery.flot.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                    if (val > ymax)
                                                                        ymax = val;
                                        Severity: Major
                                        Found in public/lib/jquery.flot.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language