dhgwilliam/google-voice-stats

View on GitHub

Showing 371 of 371 total issues

Avoid deeply nested control flow statements.
Open

                    if ( typeof cur !== "string" ) {
                        if ( elem === cur ) {
                            match = true;
                            break;
                        }
Severity: Major
Found in public/js/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/js/jquery.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                  className = className.replace(" " + classNames[ c ] + " ", " ");
                              }
      Severity: Major
      Found in public/js/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/js/jquery.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                              for ( i = 0; (item = curLoop[i]) != null; i++ ) {
                                  if ( item ) {
                                      found = filter( item, match, i, curLoop );
                                      pass = not ^ found;
          
          
          Severity: Major
          Found in public/js/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/js/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/js/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/js/jquery.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                                      if ( xhrOnUnloadAbort ) {
                                                          delete xhrCallbacks[ handle ];
                                                      }
                  Severity: Major
                  Found in public/js/jquery.js - About 45 mins to fix

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

                      function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) {
                    Severity: Minor
                    Found in public/js/d3.v2.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                              if ( name in thisCache ) {
                                                  name = [ name ];
                                              } else {
                                                  name = name.split( " " );
                                              }
                      Severity: Major
                      Found in public/js/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/js/jquery.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

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

                              Avoid deeply nested control flow statements.
                              Open

                                                          if ( !xhrCallbacks ) {
                                                              xhrCallbacks = {};
                                                              jQuery( window ).unload( xhrOnUnloadAbort );
                                                          }
                              Severity: Major
                              Found in public/js/jquery.js - About 45 mins to fix

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

                                    function insertChild(n, p, x1, y1, x2, y2) {
                                Severity: Minor
                                Found in public/js/d3.v2.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/js/jquery.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

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