ourcities/panela-de-pressao

View on GitHub

Showing 108 of 136 total issues

Consider simplifying this complex logical expression.
Open

if(_43==="length"){
return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44));
}else{
return false;
}
Severity: Major
Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

    if(_43==="absolute"){
    return ((min&&_48>=_44)||(max&&_48<_44)||(!min&&!max&&_48===_44));
    }else{
    return false;
    }
    Severity: Major
    Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

      Consider simplifying this complex logical expression.
      Open

      if(_43==="resolution"){
      return ((min&&res>=_44)||(max&&res<_44)||(!min&&!max&&res===_44));
      }else{
      return false;
      }
      Severity: Major
      Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

        Consider simplifying this complex logical expression.
        Open

        if(_43==="length"){
        return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44));
        }else{
        return false;
        }
        Severity: Major
        Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

          Consider simplifying this complex logical expression.
          Open

          if(_43==="length"){
          return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44));
          }else{
          return false;
          }
          Severity: Major
          Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

            Consider simplifying this complex logical expression.
            Open

            if(_43==="length"){
            return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44));
            }else{
            return false;
            }
            Severity: Major
            Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

              Consider simplifying this complex logical expression.
              Open

              if(_43==="absolute"){
              return ((min&&_49>=_44)||(max&&_49<_44)||(!min&&!max&&_49===_44));
              }else{
              return false;
              }
              Severity: Major
              Found in app/assets/javascripts/css3-mediaqueries.js - About 1 hr to fix

                Avoid deeply nested control flow statements.
                Open

                                            if ((np = isValid(pos, c, buffer, !clearInvalid)) !== false) {
                                                if (np !== true) {
                                                    pos = np.pos || pos; //set new position from isValid
                                                    c = np.c || c; //set new char from isValid
                                                }
                Severity: Major
                Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                  if(_42!==null){
                  if(_43==="length"){
                  return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44));
                  }else{
                  return false;
                  Severity: Major
                  Found in app/assets/javascripts/css3-mediaqueries.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                                } else if (c == undefined) break;
                    Severity: Major
                    Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                      if (isRTL) {
                                                          beginPos = shiftR(firstMaskPos, beginPos, getPlaceHolder(beginPos), true);
                                                          beginPos = (opts.numericInput && opts.greedy && k == opts.keyCode.BACKSPACE && buffer[beginPos + 1] == opts.radixPoint) ? beginPos + 1 : seekNext(buffer, beginPos);
                                                      } else beginPos = shiftL(beginPos, maskL);
                      Severity: Major
                      Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                        if(_43==="length"){
                        return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44));
                        }else{
                        return false;
                        }
                        Severity: Major
                        Found in app/assets/javascripts/css3-mediaqueries.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                      if (lastMatch == checkPosition) //once outsync the nonmask cannot be the lastmatch
                                                          lastMatch = pos;
                          Severity: Major
                          Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                        if (getPlaceHolder(pos) == buffer[pos] || !isMask(pos))
                                                            tmpBuffer.splice(0, 1);
                                                        else break;
                            Severity: Major
                            Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                              if(!c[n]){
                              c[n]=v[n];
                              }else{
                              c[n]=c[n].concat(v[n]);
                              }
                              Severity: Major
                              Found in app/assets/javascripts/css3-mediaqueries.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                            } else if (full !== true) break;
                                Severity: Major
                                Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                                  if ((np = isValid(p == maskL || getBufferElement(buffer, p) == opts.radixPoint ? seekPrevious(buffer, p) : p, c, buffer, false)) !== false) {
                                                                      if (np !== true) {
                                                                          p = np.pos || pos; //set new position from isValid
                                                                          c = np.c || c; //set new char from isValid
                                                                      }
                                  Severity: Major
                                  Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                    if ((np = isValid(p, c, buffer, false)) !== false) {
                                                                        if (np !== true) {
                                                                            p = np.pos || p; //set new position from isValid
                                                                            c = np.c || c; //set new char from isValid
                                                                        }
                                    Severity: Major
                                    Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                          if (Object.getOwnPropertyDescriptor)
                                                                              valueProperty = Object.getOwnPropertyDescriptor(input, "value");
                                      Severity: Major
                                      Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                            if (valueProperty && valueProperty.get) {
                                                                                if (input._valueGet) {
                                                                                    Object.defineProperty(input, "value", {
                                                                                        get: input._valueGet,
                                                                                        set: input._valueSet
                                        Severity: Major
                                        Found in app/assets/javascripts/lib/jquery.inputmask.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language