dhgwilliam/google-voice-stats

View on GitHub

Showing 231 of 371 total issues

Avoid deeply nested control flow statements.
Open

                    if ( !anyFound ) {
                        return [];
                    }
Severity: Major
Found in public/js/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/js/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/js/jquery.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                    for (j = i + 1; j < n; ++j) q[j].i--;
        Severity: Major
        Found in public/js/d3.v2.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                    while (++i < n) if (!d3_selection_classedRe(name[i]).test(value)) return false;
          Severity: Major
          Found in public/js/d3.v2.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                        for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) {
                          if (d3_layout_packIntersects(k, c)) {
                            break;
                          }
                        }
            Severity: Major
            Found in public/js/d3.v2.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                          if (s1 < s2 || s1 == s2 && b.r < a.r) d3_layout_packSplice(a, b = j); else d3_layout_packSplice(a = k, b);
              Severity: Major
              Found in public/js/d3.v2.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                          while (++i < n) if (!value.contains(name[i])) return false;
                Severity: Major
                Found in public/js/d3.v2.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                              for (j = i + 1; j < n; ++j) q[j].i -= 2;
                  Severity: Major
                  Found in public/js/d3.v2.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                if (d3_layout_packIntersects(j, c)) {
                                  isect = 1;
                                  break;
                                }
                    Severity: Major
                    Found in public/js/d3.v2.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                  for (j = i + 1; j < n; ++j) q[j].i--;
                      Severity: Major
                      Found in public/js/d3.v2.js - About 45 mins to fix

                        Consider simplifying this complex logical expression.
                        Open

                                } else if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
                                    (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
                                    !wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
                        
                                    value = value.replace(rxhtmlTag, "<$1></$2>");
                        Severity: Major
                        Found in public/js/jquery.js - About 40 mins to fix

                          Consider simplifying this complex logical expression.
                          Open

                                  if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
                                          Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
                          
                                      ret = Sizzle.find( parts.shift(), context, contextXML );
                                      context = ret.expr ?
                          Severity: Major
                          Found in public/js/jquery.js - About 40 mins to fix

                            Consider simplifying this complex logical expression.
                            Open

                                    if ( delegateCount && !event.target.disabled && !(event.button && event.type === "click") ) {
                            
                                        // Pregenerate a single jQuery object for reuse with .is()
                                        jqcur = jQuery(this);
                                        jqcur.context = this.ownerDocument || this;
                            Severity: Major
                            Found in public/js/jquery.js - About 40 mins to fix

                              Consider simplifying this complex logical expression.
                              Open

                                      if ( s.crossDomain == null ) {
                                          parts = rurl.exec( s.url.toLowerCase() );
                                          s.crossDomain = !!( parts &&
                                              ( parts[ 1 ] != ajaxLocParts[ 1 ] || parts[ 2 ] != ajaxLocParts[ 2 ] ||
                                                  ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) !=
                              Severity: Major
                              Found in public/js/jquery.js - About 40 mins to fix

                                Consider simplifying this complex logical expression.
                                Open

                                if ( !jQuery.support.opacity ) {
                                    jQuery.cssHooks.opacity = {
                                        get: function( elem, computed ) {
                                            // IE uses filters for opacity
                                            return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
                                Severity: Major
                                Found in public/js/jquery.js - About 40 mins to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                                  if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
                                  
                                                      // Don't re-trigger an onFOO event when we call its FOO() method
                                                      old = elem[ ontype ];
                                  
                                  
                                  Severity: Major
                                  Found in public/js/jquery.js - About 40 mins to fix

                                    Function on has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                    Severity: Minor
                                    Found in public/js/jquery.js - About 35 mins to fix

                                      Function quadtree has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                        d3.geom.quadtree = function(points, x1, y1, x2, y2) {
                                      Severity: Minor
                                      Found in public/js/d3.v2.js - About 35 mins to fix

                                        Function PSEUDO has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                PSEUDO: function( match, curLoop, inplace, result, not ) {
                                        Severity: Minor
                                        Found in public/js/jquery.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language