dhgwilliam/google-voice-stats

View on GitHub

Showing 231 of 371 total issues

Consider simplifying this complex logical expression.
Open

        if ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) {
            return;
        }
Severity: Major
Found in public/js/jquery.js - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

    if ( jQuery.expr && jQuery.expr.filters ) {
        jQuery.expr.filters.hidden = function( elem ) {
            var width = elem.offsetWidth,
                height = elem.offsetHeight;
    
    
    Severity: Major
    Found in public/js/jquery.js - About 1 hr to fix

      Consider simplifying this complex logical expression.
      Open

                      if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) {
      
                          event.data = handleObj.data;
                          event.handleObj = handleObj;
      
      
      Severity: Major
      Found in public/js/jquery.js - About 1 hr 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

                                  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

                                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 ( !inplace ) {
                                      curLoop = result;
                                  }
              Severity: Major
              Found in public/js/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/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

                    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

                      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

                        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 ( !isXML ) {
                                                  elem[ expando ] = doneName;
                                                  elem.sizset = i;
                                              }
                          Severity: Major
                          Found in public/js/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/js/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/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

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

                                      function insert(n, p, x1, y1, x2, y2) {
                                  Severity: Minor
                                  Found in public/js/d3.v2.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

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

                                      function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                                      Severity: Minor
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language