stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

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/lib/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/lib/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/lib/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/lib/jquery.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                  if ( elem.nodeType === 1 ) {
                                      elem.removeAttribute( name );
                                  }
          Severity: Major
          Found in public/lib/jquery.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                if ( !inplace ) {
                                    curLoop = result;
                                }
            Severity: Major
            Found in public/lib/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/lib/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/lib/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/lib/jquery.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 public/lib/jquery.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                              if ( name.indexOf( "data-" ) === 0 ) {
                                                  name = name.substr( 5 );
                                                  dataAttr( this[0], name, data[ name ] );
                                              }
                      Severity: Major
                      Found in public/lib/jquery.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 public/lib/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/lib/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/lib/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/lib/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/lib/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/lib/jquery.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                            if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) &&
                                                                    (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) {
                                    
                                                                // Get the specific value for the option
                                                                value = jQuery(option).val();
                                    Severity: Major
                                    Found in public/lib/jquery.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                              if ( ret === false ) {
                                                                  event.preventDefault();
                                                                  event.stopPropagation();
                                                              }
                                      Severity: Major
                                      Found in public/lib/jquery.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                            if ( !anyFound ) {
                                                                return [];
                                                            }
                                        Severity: Major
                                        Found in public/lib/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language