ericduran/chromeHAR

View on GitHub

Showing 371 of 463 total issues

Avoid deeply nested control flow statements.
Open

                  if ( b === a ) {
                    return true;
                  }
Severity: Major
Found in bower_components/angular/angular.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                if ( cache[1] === true ) {
                                    return true;
                                }
    Severity: Major
    Found in bower_components/jquery/jquery.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                          if ( typeof elem.getElementsByTagName !== "undefined" ) {
                              // handleScript alters the DOM, so use jQuery.merge to ensure snapshot iteration
                              jsTags = jQuery.grep( jQuery.merge( [], elem.getElementsByTagName("script") ), handleScript );
      
                              // Splice the scripts into ret after their former ancestor and advance our index beyond them
      Severity: Major
      Found in bower_components/jquery/jquery-migrate.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                            if(start == this.length) { // tiny optimisation #1
                                this.push.apply(this, args);
                                return [];
                            }
        Severity: Major
        Found in bower_components/es5-shim/es5-shim.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                              if ( Expr.relative[ tokens[j].type ] ) {
                                  break;
                              }
          Severity: Major
          Found in bower_components/jquery/jquery.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                    if ( name.indexOf( "data-" ) === 0 ) {
                                        name = jQuery.camelCase( name.slice(5) );
                                        dataAttr( elem, name, data[ name ] );
                                    }
            Severity: Major
            Found in bower_components/jquery/jquery.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                      if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
                                          cur += clazz + " ";
                                      }
              Severity: Major
              Found in bower_components/jquery/jquery.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                            for (var index = 0, length = filter.length, value; index < length; value = filter[index++], ((getClass.call(value) == stringClass || getClass.call(value) == numberClass) && (properties[value] = 1)));
                Severity: Major
                Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                if (source.slice(Index, Index + 4) == "true") {
                                  Index += 4;
                                  return true;
                                } else if (source.slice(Index, Index + 5) == "false") {
                                  Index += 5;
                  Severity: Major
                  Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                  if (charCode < 32) {
                                    result += unicodePrefix + toPaddedString(2, charCode.toString(16));
                                    break;
                                  }
                    Severity: Major
                    Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                    if (charCode == 45) {
                                      isSigned = true;
                                      charCode = source.charCodeAt(++Index);
                                    }
                      Severity: Major
                      Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                      if (element !== undef) {
                                        // According to ES 5.1 section 15.12.3: "If `gap` {whitespace}
                                        // is not the empty string, let `member` {quote(property) + ":"}
                                        // be the concatenation of `member` and the `space` character."
                                        // The "`space` character" refers to the literal space
                        Severity: Major
                        Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                        if (charCode >= 48 && charCode <= 57) {
                                          // Leading zeroes are interpreted as octal literals.
                                          if (charCode == 48 && ((charCode = source.charCodeAt(Index + 1)), charCode >= 48 && charCode <= 57)) {
                                            // Illegal octal literal.
                                            abort();
                          Severity: Major
                          Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                          if (isSigned) {
                                            abort();
                                          }
                            Severity: Major
                            Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                          if (!(isFunction && property == "prototype") && isProperty.call(object, property) && !(isConstructor = property === "constructor")) {
                                            callback(property);
                                          }
                              Severity: Major
                              Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                              if (source.charCodeAt(Index) == 34) {
                                                // Advance to the next character and return the revived string.
                                                Index++;
                                                return value;
                                              }
                                Severity: Major
                                Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                for (value = "@", Index++; Index < length;) {
                                                  charCode = source.charCodeAt(Index);
                                                  if (charCode < 32) {
                                                    // Unescaped ASCII control characters (those with a code unit
                                                    // less than the space character) are not permitted.
                                  Severity: Major
                                  Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                for (length = value.length; length--;) {
                                                  update(value, length, callback);
                                                }
                                    Severity: Major
                                    Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                  if (stack[length] === value) {
                                                    // Cyclic structures cannot be serialized by `JSON.stringify`.
                                                    throw TypeError();
                                                  }
                                      Severity: Major
                                      Found in bower_components/json3/lib/json3.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                    for (;; hasMembers || (hasMembers = true)) {
                                                      value = lex();
                                                      // A closing square bracket marks the end of the array literal.
                                                      if (value == "]") {
                                                        break;
                                        Severity: Major
                                        Found in bower_components/json3/lib/json3.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language