suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Avoid deeply nested control flow statements.
Open

                        if (!arg.hasOwnProperty(match[2][k])) {
                            throw new Error(sprintf("[sprintf] property '%s' does not exist", match[2][k]))
                        }
Severity: Major
Found in _frontend/assets/js/vendor/sprintf.min.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if ( (elem = matcherOut[i]) ) {
                                // Restore matcherIn since elem is not yet a final match
                                temp.push( (matcherIn[i] = elem) );
                            }
    Severity: Major
    Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                          if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
                                              return false;
                                          }
      Severity: Major
      Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                for ( match in context ) {
                                    // Properties of context are called as methods if possible
                                    if ( jQuery.isFunction( this[ match ] ) ) {
                                        this[ match ]( context[ match ] );
        
        
        Severity: Major
        Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

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

            Avoid deeply nested control flow statements.
            Open

                                for ( conv2 in converters ) {
            
                                    // If conv2 outputs current
                                    tmp = conv2.split( " " );
                                    if ( tmp[ 1 ] === current ) {
            Severity: Major
            Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                              } else if ( copy !== undefined ) {
                                  target[ name ] = copy;
                              }
              Severity: Major
              Found in _frontend/assets/js/vendor/jquery.min.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 _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                                  if ( typeof xhr.responseText === "string" ) {
                                                      responses.text = xhr.responseText;
                                                  }
                  Severity: Major
                  Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                            while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") {
                                                if ((field_match = re.key_access.exec(replacement_field)) !== null) {
                                                    field_list[field_list.length] = field_match[1]
                                                }
                                                else if ((field_match = re.index_access.exec(replacement_field)) !== null) {
                    Severity: Major
                    Found in _frontend/assets/js/vendor/sprintf.min.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
                                              contains( context, elem ) && elem.id === m ) {
                                              results.push( elem );
                                              return results;
                                          }
                      Severity: Major
                      Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
                                                    cur = cur.replace( " " + clazz + " ", " " );
                                                }
                        Severity: Major
                        Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                  if ( matches[ sel ] === undefined ) {
                                                      matches[ sel ] = handleObj.needsContext ?
                                                          jQuery( sel, this ).index( cur ) >= 0 :
                                                          jQuery.find( sel, this, null, [ cur ] ).length;
                                                  }
                          Severity: Major
                          Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                if ( conv && s[ "throws" ] ) {
                                                    response = conv( response );
                                                } else {
                                                    try {
                                                        response = conv( response );
                            Severity: Major
                            Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                              } else if ( isHttpEquiv ) {
                                                  if ( getHttpEquiv === "" || getHttpEquiv === null ) {
                                                      errDesc = 'Please fill the http-equiv attribute on meta tag.';
                                                      pushErrMsg(errDesc);
                                                  } else if ( getHttpEquiv !== "content-type" ) {
                              Severity: Major
                              Found in seo/seoChecker.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                    if ( copyIsArray ) {
                                                        copyIsArray = false;
                                                        clone = src && jQuery.isArray(src) ? src : [];
                                
                                                    } else {
                                Severity: Major
                                Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

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

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                        if (s.name === "saveas-name") {
                                                                            u = s.value
                                                                        } else {
                                                                            if (s.name === "ruleset-name") {
                                                                                z = s.value
                                    Severity: Major
                                    Found in performance/yslow.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                              if (x.style && typeof x.style.getPropertyValue === "function") {
                                                                                  r = x.style.getPropertyValue("src");
                                                                                  r = y.exec(r);
                                                                                  if (r) {
                                                                                      r = r[1];
                                      Severity: Major
                                      Found in performance/yslow.js - About 45 mins to fix

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

                                            init: function( elem, options, prop, end, easing, unit ) {
                                        Severity: Minor
                                        Found in _frontend/assets/js/vendor/jquery.min.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language